package com.acme.bankapp.domian.bank;

public class Client {

    private Account account;
    private Gender gender;
    private String name;

    public Client(Account account, Gender gender, String name) {
        this.account = account;
        this.gender = gender;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Gender getGender() {
        return gender;
    }

    public void setGender(Gender gender) {
        this.gender = gender;
    }

    public Account getAccount() {
        return account;
    }

    public void getClientSalutation(){
        System.out.println("Hello " + gender.appeal() + "" + name + "!");
    }

}
